package com.allwees.core.event.configuration;

import com.allwees.core.common.parser.el.ExpressionParser;
import com.allwees.core.event.aop.LocalEventAop;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ProxyLocalEventConfiguration {

    @Bean
    public LocalEventAop localEventInterceptor() {
        return new LocalEventAop().setParser(new ExpressionParser());
    }
}
